package com.bootdo.program.shop.service;


import com.bootdo.program.shop.dao.ShopAddressDao;
import com.bootdo.program.shop.domain.ShopAddressDO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 收货地址
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2020-12-18 20:01:17
 */

@Service
public class ShopAddressService {
	@Resource
	private ShopAddressDao shopAddressDao;
	public void get(){
		List<ShopAddressDO> shopAddressDOS = shopAddressDao.selectAll();
		for (int i = 0; i < shopAddressDOS.size(); i++) {
			System.out.println(shopAddressDOS.get(i).getCreateTime());
		}

	}

}
